
public class SportSystem {

	private Integer minSob=2;
	private static Integer maxSob=4;
		
	private Double s1=1.5; 
	private Double s2=1.4;
	private Double s3=1.3;
	private Double s4=1.2;
	
	Double[] makeArr() {
		Double[] arrLocal=new Double[maxSob];
		arrLocal[0]=s1;
		arrLocal[1]=s2;
		arrLocal[2]=s3;
		arrLocal[3]=s4;
		
		System.out.println("done");
		
		return arrLocal;
	}
	
	public static void main(String[] args) {
		
	    SportSystem syst = new SportSystem(); 
		
 	    Double[] arrMai= syst.makeArr(); 
		
 	    int i = 0;
 	     	     	    
 	    while(i<4) {
 	    	i=i+1;
 	    	System.out.print("i="+i);
 	    	System.out.println();
 	    }
 	    
 	    
	    System.out.println("cool="+arrMai[0]);
		
	}
	
	public Integer getMaxSob() {
		return maxSob;
	}

	public Integer getMinSob() {
		return minSob;
	}
	
	public void setMinSob(Integer minSob) {
		this.minSob = minSob;
	}


	public void setMaxSob(Integer maxSob) {
		this.maxSob = maxSob;
	}

}
